<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" errorPage="~/Error.aspx" CodeBehind="RegComplete.aspx.cs" Inherits="SecurityLinkUp.RegComplete" Title="Registration Complete" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder" runat="server">
    <script type="text/javascript">
    var secs;
    function StartCountdown(delay)
    {
        secs = delay;
        DoCount();
    }
    
    function DoCount()
    {
        document.getElementById("CountdownText").innerHTML = secs
        if (secs != 0)
        {
            secs--;
            setTimeout("DoCount()",1000);
        }
        else
        {
            window.location = "/Default.aspx"
        }
        
    }
    </script>

    <div style="width: 2500px">
    
    <p>Thankyou for registering. You will be redirected back to the homepage in 
    <span id="CountdownText">5</span> seconds
    (or <asp:HyperLink NavigateUrl="/Default.aspx" ID="Link" runat="server">click here</asp:HyperLink>).</p> 
    <p>Remember to <a href="/Profile.aspx">update your profile</a> for more settings and to customize your experience</p>
    </div>      

</asp:Content>
